<?php

namespace App\Modules\StatDoris\Model;

use App\Model\Model;

class CallDetail extends Model
{
    protected $connection = 'db_doris';

    protected $table = 'call_detail';

    /**
     * @param int $id
     * @return array
     */
    public static function getCallDetailById(int $id): array
    {
        $data = self::where('id', $id)->get()->toArray();
        return $data;
    }
}